package com.ruoyi.chengkao.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.chengkao.mapper.CkCandidateFeatureMapper;
import com.ruoyi.chengkao.domain.CkCandidateFeature;
import com.ruoyi.chengkao.service.ICkCandidateFeatureService;

/**
 * 考生特征信息Service业务层处理
 * 
 * @author xiaosong
 * @date 2025-03-10
 */
@Service
public class CkCandidateFeatureServiceImpl implements ICkCandidateFeatureService 
{
    @Autowired
    private CkCandidateFeatureMapper ckCandidateFeatureMapper;

    /**
     * 查询考生特征信息
     * 
     * @param id 考生特征信息主键
     * @return 考生特征信息
     */
    @Override
    public CkCandidateFeature selectCkCandidateFeatureById(Long id)
    {
        return ckCandidateFeatureMapper.selectCkCandidateFeatureById(id);
    }

    @Override
    public List<CkCandidateFeature> selectCkCandidateFeatureAll()
    {
        return ckCandidateFeatureMapper.selectCkCandidateFeatureAll();
    }

    /**
     * 查询考生特征信息列表
     * 
     * @param ckCandidateFeature 考生特征信息
     * @return 考生特征信息
     */
    @Override
    public List<CkCandidateFeature> selectCkCandidateFeatureList(CkCandidateFeature ckCandidateFeature)
    {
        return ckCandidateFeatureMapper.selectCkCandidateFeatureList(ckCandidateFeature);
    }

    /**
     * 新增考生特征信息
     * 
     * @param ckCandidateFeature 考生特征信息
     * @return 结果
     */
    @Override
    public int insertCkCandidateFeature(CkCandidateFeature ckCandidateFeature)
    {
        return ckCandidateFeatureMapper.insertCkCandidateFeature(ckCandidateFeature);
    }

    /**
     * 修改考生特征信息
     * 
     * @param ckCandidateFeature 考生特征信息
     * @return 结果
     */
    @Override
    public int updateCkCandidateFeature(CkCandidateFeature ckCandidateFeature)
    {
        return ckCandidateFeatureMapper.updateCkCandidateFeature(ckCandidateFeature);
    }

    /**
     * 批量删除考生特征信息
     * 
     * @param ids 需要删除的考生特征信息主键
     * @return 结果
     */
    @Override
    public int deleteCkCandidateFeatureByIds(Long[] ids)
    {
        return ckCandidateFeatureMapper.deleteCkCandidateFeatureByIds(ids);
    }

    /**
     * 删除考生特征信息信息
     * 
     * @param id 考生特征信息主键
     * @return 结果
     */
    @Override
    public int deleteCkCandidateFeatureById(Long id)
    {
        return ckCandidateFeatureMapper.deleteCkCandidateFeatureById(id);
    }
}
